home *** CD-ROM | disk | FTP | other *** search
/ Amiga Developer CD 2.1 / Amiga Developer CD v2.1.iso / NDK / NDK_1.3 / Include-Strip1.3 / include.h / exec / execbase.h < prev    next >
Encoding:
C/C++ Source or Header  |  1988-07-15  |  1.6 KB  |  77 lines

  1. #ifndef    EXEC_EXECBASE_H
  2. #define    EXEC_EXECBASE_H
  3. #ifndef    EXEC_LISTS_H
  4. #include    "exec/lists.h"
  5. #endif    !EXEC_LISTS_H
  6. #ifndef    EXEC_INTERRUPTS_H
  7. #include    "exec/interrupts.h"
  8. #endif    !EXEC_INTERRUPTS_H
  9. #ifndef    EXEC_LIBRARIES_H
  10. #include    "exec/libraries.h"
  11. #endif    !EXEC_LIBRARIES_H
  12. #ifndef    EXEC_TASKS_H
  13. #include    "exec/tasks.h"
  14. #endif    !EXEC_TASKS_H
  15. struct    ExecBase    {
  16. struct    Library    LibNode;
  17. UWORD    SoftVer;
  18. WORD    LowMemChkSum;
  19. ULONG    ChkBase;
  20. APTR    ColdCapture;
  21. APTR    CoolCapture;
  22. APTR    WarmCapture;
  23. APTR    SysStkUpper;
  24. APTR    SysStkLower;
  25. ULONG    MaxLocMem;
  26. APTR    DebugEntry;
  27. APTR    DebugData;
  28. APTR    AlertData;
  29. APTR    MaxExtMem;
  30. UWORD    ChkSum;
  31. struct    IntVector    IntVects[16];
  32. struct    Task    *ThisTask;
  33. ULONG    IdleCount;
  34. ULONG    DispCount;
  35. UWORD    Quantum;
  36. UWORD    Elapsed;
  37. UWORD    SysFlags;
  38. BYTE    IDNestCnt;
  39. BYTE    TDNestCnt;
  40. UWORD    AttnFlags;
  41. UWORD    AttnResched;
  42. APTR    ResModules;
  43. APTR    TaskTrapCode;
  44. APTR    TaskExceptCode;
  45. APTR    TaskExitCode;
  46. ULONG    TaskSigAlloc;
  47. UWORD    TaskTrapAlloc;
  48. struct    List    MemList;
  49. struct    List    ResourceList;
  50. struct    List    DeviceList;
  51. struct    List    IntrList;
  52. struct    List    LibList;
  53. struct    List    PortList;
  54. struct    List    TaskReady;
  55. struct    List    TaskWait;
  56. struct    SoftIntList    SoftInts[5];
  57. LONG    LastAlert[4];
  58. UBYTE    VBlankFrequency;
  59. UBYTE    PowerSupplyFrequency;
  60. struct    List    SemaphoreList;
  61. APTR    KickMemPtr;
  62. APTR    KickTagPtr;
  63. APTR    KickCheckSum;
  64. UBYTE    ExecBaseReserved[10];
  65. UBYTE    ExecBaseNewReserved[20];
  66. };
  67. #define    SYSBASESIZE    sizeof(struct    ExecBase)
  68. #define    AFB_68010    0
  69. #define    AFB_68020    1
  70. #define    AFB_68881    4
  71. #define    AFF_68010    (1<<0)
  72. #define    AFF_68020    (1<<1)
  73. #define    AFF_68881    (1<<4)
  74. #define    AFB_RESERVED8    8
  75. #define    AFB_RESERVED9    9
  76. #endif
  77.